 |
API Documentation
|
|
|
312 virtual bool load ()
override ;
THREE_CHANNEL_PACK getEnvironmentTextureChannels() const
THREE_CHANNEL_PACK getSpecularTextureChannels() const
nkGraphics::Texture * getMetalnessTexture() const
nkGraphics::Texture * getEmissiveTexture() const
MATERIAL_TYPE
Lists all materials supported.
Definition: MaterialType.h:12
void setLightColor(const nkMaths::Vector &value)
ONE_CHANNEL_PACK getMetalnessTextureChannels() const
void setIrradianceTextureIsCubeByDefault(bool value)
void setLightDirection(const nkMaths::Vector &value)
nkMaths::Vector getEmissiveColor() const
bool getIrradianceTextureIsCubeByDefault() const
THREE_CHANNEL_PACK getAlbedoTextureChannels() const
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
void setRoughnessTexture(nkGraphics::Texture *value, ONE_CHANNEL_PACK channel=ONE_CHANNEL_PACK::A)
nkMaths::Vector getLightColor() const
void setMetalness(float value)
nkGraphics::Texture * getNormalMapTexture() const
void setEmissiveColor(const nkMaths::Vector &value)
A Physically Based Shading material.
Definition: PbsMaterial.h:15
THREE_CHANNEL_PACK
Enumeration of texture channels, packed by three.
Definition: ThreeChannelPack.h:12
nkMaths::Vector getAlbedoColor() const
nkGraphics::Texture * getAlbedoTexture() const
void setEnvironmentColor(const nkMaths::Vector &value)
nkMaths::Vector getLightDirection() const
THREE_CHANNEL_PACK getIrradianceTextureChannels() const
void setEmissiveTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
float getRoughness() const
nkGraphics::Texture * getEnvironmentTexture() const
void setIrradianceTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
virtual MATERIAL_TYPE getType() const override
void setEnvironmentTextureIsCubeByDefault(bool value)
float getMetalness() const
Encompasses all API of component NilkinsAstraeus.
Definition: Engine.h:7
nkGraphics::Texture * getIrradianceTexture() const
nkMaths::Vector getSpecularColor() const
nkGraphics::Texture * getRoughnessTexture() const
ONE_CHANNEL_PACK getRoughnessTextureChannels() const
THREE_CHANNEL_PACK getEmissiveTextureChannels() const
void setAlbedoTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
void setAlbedoColor(const nkMaths::Vector &value)
void setEnvironmentTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB, bool prefilteredEnv=false)
void setRoughness(float value)
nkGraphics::Texture * getSpecularTexture() const
ONE_CHANNEL_PACK
Enumeration of texture channels, one by one.
Definition: OneChannelPack.h:12
bool getEnvironmentTextureIsCubeByDefault() const
virtual bool load() override
void setSpecularColor(const nkMaths::Vector &value)
Base class for all materials in the component.
Definition: Material.h:16
void setSpecularTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
virtual void unload() override
@ RGB
Red, green, blue channels.
nkMaths::Vector getEnvironmentColor() const
void setNormalMapTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
A 4-component vector class, with floats.
Definition: Vector.h:12
void setMetalnessTexture(nkGraphics::Texture *value, ONE_CHANNEL_PACK channel=ONE_CHANNEL_PACK::A)